import request from '@/request';
import type { ListType } from './index.d';

/**
 * @Desc:获取列表
 */
export function getList(id: string): Promise<API.Data<ListType>> {
  return request(`/v1/list`, {
    method: 'GET',
    params: {},
  });
}
